#!/usr/bin/env sh

set -e

npm run docs:build

cd docs/.vitepress/dist

git init

git add -A

git commit -m "update"

git push -f git@github.com:ffgenius/ffgenius.github.io.git master

cd -

rm -rf docs/.vitepress/dist
